﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Windy
{
    public partial class ScreenTilesForm : Form
    {
        private Screen parentScreen;

        public ScreenTilesForm(Screen screen)
        {
            this.parentScreen = screen;
            InitializeComponent();
        }

        private void ScreenTilesForm_Load(object sender, EventArgs e)
        {
        }

        public void ShowOnTop()
        {
            this.Show();
            //this.Activate();
        }

        protected override void OnLostFocus(EventArgs e)
        {
            this.Close();
            base.OnLostFocus(e);
        }
    }
}
